package com.example;

import org.elephantt.webby.Model;
import org.elephantt.webby.Request;

import java.util.Date;

public class SiteController {
  public Model home() {
    return new Model().append("time", new Date().toString());
  }

  public Model person(Request request) {
    return new Model().append("username", request.getUrlParameter("username"));
  }
}
